Skip to content

SV Egg Autonomous: Added the option with backup saves#1228

Open
Boombaastical wants to merge 3 commits into
PokemonAutomation:mainfrom
Boombaastical:SVEggAuto/AddedBackupSave
Open

SV Egg Autonomous: Added the option with backup saves#1228
Boombaastical wants to merge 3 commits into
PokemonAutomation:mainfrom
Boombaastical:SVEggAuto/AddedBackupSave

Conversation

@Boombaastical
Copy link
Copy Markdown
Contributor

My purpose was to be able to take a video of the trainer profile with the shiny hatching from the egg in a single video. In our current option, my best bet was to:
-Save after picnic and all eggs have been fetched
-Save before every batch of 4-5 eggs

In both cases, it would use up ingredients, and it takes more time because the program needs to release all pokemon at the end.

So instead, I added an option to create a backup save after fetching all 30 eggs, but keeping the logic of "Save at the beginning and after keeping a baby". This way, it works exactly the same, but the backup save allows to go back to the moment where the shiny was part of the eggs, and thus I can manually take a video of it.

Backup saves in SV:
-Are created by:
--healing pokemon at a pokemon center (the option I chose for this PR)
--after finishing an online trade

-Are not created by:
--Any operation done by the current SV Egg Autonomous
--Flying somewhere, close or far
--Moving to another area

I have already tested the feature, and I could record the 3 videos in attachment.

Test.1.mp4
Test.2.mp4
Test.3.mp4

@Mysticial
Copy link
Copy Markdown
Collaborator

This is overly complicated for what you want to do. Just use audio to detect the shiny sound that's played during the hatch. Then take a video via the screenshot button after the egg is done hatching.

@Boombaastical
Copy link
Copy Markdown
Contributor Author

Boombaastical commented May 4, 2026

The point is also to record the Trainer ID. For this, I don't want to add this extra step as part of the program, as this is specific for me, but the fact that you can rehatch eggs at no additional cost is an improvement over the other saving options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants